<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
		<!-- Title here -->
		<!-- Javascript files -->
		<!-- jQuery -->
		<script src="/thinkphp1/Public/js/jquery.js"></script>
		<!-- Bootstrap JS -->
		<script src="/thinkphp1/Public/js/bootstrap.min.js"></script>
		<!-- jquery Anchor JS -->
		<script src="/thinkphp1/Public/js/jquery.arbitrary-anchor.js"></script>
		<!-- jQuery way points -->
		<script src="/thinkphp1/Public/js/waypoints.min.js"></script>
		<!-- Respond JS for IE8 -->
		<script src="/thinkphp1/Public/js/respond.min.js"></script>
		<!-- HTML5 Support for IE -->
		<script src="/thinkphp1/Public/js/html5shiv.js"></script>
		<!-- Custom JS -->
		<script src="/thinkphp1/Public/js/custom.js"></script>
		<meta  charset="utf-8" />

		<title>user</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link href="/thinkphp1/Public/Css/bootstrap.min.css" rel="stylesheet">
		<!-- Font awesome CSS -->
		<link href="/thinkphp1/Public/Css/font-awesome.min.css" rel="stylesheet">	
		<!-- Animate CSS -->
		<link href="/thinkphp1/Public/Css/animate.min.css" rel="stylesheet">
		<!-- Custom CSS -->
		<link href="/thinkphp1/Public/Css/style.css" rel="stylesheet">	
	</head>
	<body>
		<div class="outer">
			<!-- Sidebar Start-->
			<!-- Menu for tablets and mobile -->
			<div class="navigation">
				<a href="#">Menu</a>
			</div>
			
			<div class="sidebar">
				<!-- Logo of company -->
				<div class="logo text-center">
					<h1><a href="<?php echo U('Index/index');?>">WEAK</a></h1>
					<p>Team of WEAK</p>
				</div>
				
				<!-- Navigation menu list -->
				
	<ul class="list-unstyled list">
		<?php if(empty($login)): ?><li>
			<a href="<?php echo U('Index/login');?>" class="anchorLink"><i class="icon-road scolor"></i>登录</a>
			</li>
			<li>
			<a href="<?php echo U('Index/reg');?>" class="anchorLink"><i class="icon-road scolor"></i>注册</a>
			</li>
			<?php else: ?>
			<li>
			<a href="<?php echo U('User/index',['id'=>$login['id']]);?>" style="text-transform:none;"><i class="icon-road scolor"></i><span style="color:#fff;">欢迎<?php echo ($login['name']); ?></span></a>
			</li>
			<li>
			<a href="<?php echo U('Index/loginout');?>" class="anchorLink"><i class="icon-road scolor"></i>退出</a>
			</li><?php endif; ?>
		<li><a href="<?php echo U('Index/index');?>" class="anchorLink"><i class="icon-home scolor"></i>主页</a></li>
		<li><a href="<?php echo U('Order/order_info');?>" class="anchorLink"><i class="icon-user scolor"></i>订单详情</a></li>
		<li><a href="<?php echo U('User/reset');?>" class="anchorLink"><i class="icon-retweet scolor"></i>修改密码</a></li>
	</ul>

		</div>
		
			
			<!-- Sidebar End -->
			
			<!-- Main Start -->
			
			<div class="main">
			
				<div id="carousel-example-generic" class="carousel slide carousel-fade">
				   
					<!-- Wrapper for slides -->
					

				<!-- Wrapper for slides End -->
				
				
				
				<div class="container">
				
					<!-- Start Hero -->
					

					<!-- Hero End -->
					
	<div class="team"><h3>个人信息</h3></div>
	<div class="bor hidden-xs"></div>
	<div style="min-height:560px; ">
		<table class="table" border="1" cellspacing="0" cellpadding="5" align="center" >
        <tr >
          <td bgcolor="#ccc">用户名 <?php echo ($list['uname']); ?></td>
        </tr>     
        <tr>
          <td >头像
          	<?php if($list['uff'] == 'no.jpg'): ?><img src="/thinkphp1/Public/Image/no.jpg" width="80px" height="80px" alt="">
          	<?php else: ?>
          	<img src="/thinkphp1<?php echo ($list['uff']); ?>" alt=""/><?php endif; ?>
          </td>
        </tr>
        <tr>
          <td bgcolor="#ccc">性别 <?php echo ($list['ux']); ?></td>
        </tr>
        <tr>
          <td >年龄 <?php echo ($list['ufg']); ?></td>
        </tr>
        <tr>
          <td bgcolor="#ccc">电话 <?php echo ($list['uft']); ?></td>
        </tr>
        <tr>
          <td>生日 <?php echo ($list['ufb']); ?></td>
        </tr>
        <tr>
          <td bgcolor="#ccc">邮箱 <?php echo ($list['ufe']); ?></td>
        </tr>
        <tr>
          <td>qq <?php echo ($list['ufq']); ?></td>
        </tr>
    </table>
	<a href="<?php echo U('User/revise');?>" style="width:200px;height:40px;border:none;background:#DB453E;float:left;text-align:center;line-height:40px;color:#fff;display:block;text-decoration:none;">修改个人信息</a>
	</div>

					<!-- Testimonials End -->
					
					
					<!-- Price Table End -->
					
					<!-- Contact Start -->
					
			
							<!-- Address -->
							
					<!-- Contact End -->
					
					<!-- Footer -->
				<footer>
					<div class="row">
						<div class="col-md-12">
							<hr />
							<br />
							<!-- You should not remove the footer link back. -->
							<p class="text-center">CNIT &copy; by CNIT.PRO  </p>
							<br />
						</div>
					</div>
				</footer>
				
				</div>
				
				
				
			</div>	<!-- This end div for main class -->
		</div>
		
		<div class="clearfix"></div>
		
		
		<!-- Scroll to top -->
      <span class="totop"><a href="#"><i class="icon-chevron-up"></i></a></span> 
	<div style="text-align:center;">
<p>来源：<a href="" target="_blank">源码之家</a></p>
</div>
</body>
</html>